package com.gangquan360.smartadmin.module.samplesend.domain.dto;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModelProperty;

/**
 * [ 产品送样表 ]
 *
 * @author wiggin
 * @version 1.0
 * @company wiggin
 * @copyright (c) 2018 wigginInc. All rights reserved.
 * @date 2019/3/27 0027 下午 12:27
 * @since JDK1.8
 */
@Data
public class SampleSendDTO {

    @ApiModelProperty("")
    private Long id;

    @ApiModelProperty("客户id")
    private Long customerId;

    @ApiModelProperty("价格")
    private BigDecimal price;

    @ApiModelProperty("收货人")
    private String consignee;

    @ApiModelProperty("手机号")
    private String mobilePhone;

    @ApiModelProperty("电话号")
    private String telephone;

    @ApiModelProperty("是否含税,0否1是")
    private Integer taxInclude;

    @ApiModelProperty("送样日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date sendDate;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("")
    private Integer createUser;

    @ApiModelProperty("")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("")
    private Integer updateUser;

    @ApiModelProperty("")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    
    @ApiModelProperty("产品列表")
    @JsonProperty("productList")
    private List<SampleSendProductDTO> productList;


}
